package com.biubiushop.constant;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @author chenjia
 * @date 2019/8/30
 * 收钱吧相关参数
 **/
@Component
public class ShouQianbaConstant {

    @Value("${resources.shouqianba.terminal_sn}")
    public void setTerminalSn(String terminal_sn) {
        ShouQianbaConstant.terminal_sn = terminal_sn;
    }

    public static String terminal_sn;

    @Value("${resources.shouqianba.terminal_key}")
    public void setTerminalKey(String terminal_key) {
        ShouQianbaConstant.terminal_key = terminal_key;
    }

    public static String terminal_key;

    @Value("${resources.shouqianba.device_id}")
    public void setDeviceId(String device_id) {
        ShouQianbaConstant.device_id = device_id;
    }

    public static String device_id;

    /**
     * 开发者序列号
     */
    public static final String vendor_sn = " ";

    /**
     * 开发者密钥
     */
    public static final String vendor_key = " ";

    /**
     * appid
     */
    public static final String appid = " ";

    /**
     * 收钱吧
     */
    public static final String api_domain = "https://api.shouqianba.com";

    /**
     * Wap api pro支付
     */
    public static final String pay_domain = "https://m.wosai.cn/qr/gateway";

    /**
     * 收钱吧回调地址
     */
    public static final String return_url = " ";

}
